package com.onlyMe.view
{
	import com.onlyMe.net.library.Libraries;
	
	public final class IsleLibraries extends Libraries
	{
		private static const ROOT:String = 'libs';
		
		private static const OBJECTS:String = 'objects';
		
		public function IsleLibraries()
		{
			super(ROOT, true);
			
			init();
		}
		
		private function init():void
		{
			preload(OBJECTS);
		}
		
		public function fetchObject(name:String, callback:Function, data:Object=null):void
		{
			fetchFromPack(OBJECTS, name, callback, data);
		}
	}
}